/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.matrimonybeans;

import javax.ejb.Local;

/**
 *
 * @author ChauAnh
 */
@Local
public interface LoginLocal {

    Boolean checkExists(String username, String password);

    Boolean checkExistsEmail(String email, String password);

    Boolean checkExistAdmin(String username, String password);    

    String getFullName();

    String getAvatar();

    public Boolean registerAccount(String username, String email, String pass, String fname, String mname, String lname, String gender, String maritalStatus);

    public Boolean checkEmail(String email);

    public Boolean checkUser(String username);
    
}
